specific
> documentation on things like chemical structures is a little hit-or-miss,
> but often quite useful.
> -The mailing list. I have the most luck with very specific questions that
> include a minimal working example. It should include the appropriate
> \starttext…\stoptext
/Graphics) Searching the wiki for specific
documentation on things like chemical structures is a little hit-or-miss, but
often quite useful.
-The mailing list. I have the most luck with very specific questions that
include a minimal working example. It should include the appropriate
\starttext
Am 30.09.23 um 22:04 schrieb Hans Hagen:
On 9/30/2023 9:38 PM, Henning Hraban Ramm wrote:
I tried to update https://wiki.contextgarden.net/Chemistry, since
nearly all of the links were dead, and I couldn’t find any
documentation about \chemical / \startchemical.
In the wiki page you can see
On 9/30/2023 9:38 PM, Henning Hraban Ramm wrote:
I tried to update https://wiki.contextgarden.net/Chemistry, since nearly
all of the links were dead, and I couldn’t find any documentation about
\chemical / \startchemical.
In the wiki page you can see that there’s still some working code
I tried to update https://wiki.contextgarden.net/Chemistry, since nearly
all of the links were dead, and I couldn’t find any documentation about
\chemical / \startchemical.
In the wiki page you can see that there’s still some working code for
chemistry, but it looks very broken
On Sat, 15 Apr 2023 12:02:28 -0600
Gavin via ntg-context wrote:
> Hi List,
>
> I am still interested in knowing if there is a good way to do nuclear
> reactions using \chemical.
>From the chemical manual:
As in mathematical typesetting mode, subscripts and superscripts can
pre
Hi List,
I am still interested in knowing if there is a good way to do nuclear reactions
using \chemical. But I found something that works for my current needs:
\define[1]\Sr{\mathord{\rm Sr}__{38}^^{#1}}
\define[1]\Xe{\mathord{\rm Xe}__{54}^^{#1}}
\define[1]\U{\mathord{\rm U}__{92}^^{#1
} + {\rm
Xe}^^{140}__{54} + 2n
\stopformula
\stoptext
I looked at \chemical and \molecule, but could not find a way to make isotopes
with those. Any ideas?
Gavin
PastedGraphic-1.pdf
Description: Adobe PDF document
indicate a
variant (as does prime).
I suspect that Context is currently treating $\primed{a}^2$ as
${a^{\prime}}^2$ (although, maybe the 2 is not made smaller?).
Aesthetically, should $x^2$ and $\hat{x}^2$ display any difference in
the placement of the exponent?
Alan
P.S. As a challenge, consid
On 12/17/2022 10:11 PM, Alan Braslau via ntg-context wrote:
With lots of MetaPost, lots of references, lots of figures, lots of tables,
lots of bibliography entries, lots of chemical structures, ...
mkiv lua stats > node memory usage: 2491 attribute, 76 boundary, 84 dir, 1167
glue,
With lots of MetaPost, lots of references, lots of figures, lots of tables,
lots of bibliography entries, lots of chemical structures, ...
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path:
/home/braslau/context/beta/tex/texmf
domain)
2) Digits, where I use {,} to get a thousands separator
idem, there are mechanisms for that (independent of math)
3) Chemical equations, which seem to be in their own strange world right now
that belongs in the chemical modules (i probably need to check
prescritps and spacing
> better result.
Three things came to mind:
1) Units, where I use:
\, to separate units from the number
\rm to get the text font
\!\cdot\! to get something like kg•m/s
2) Digits, where I use {,} to get a thousands separator
3) Chemical equations, which seem to be in their own s
accessible
\starttext
\chapter{test}
\setupheadnumber[chapter][+5]
\placefigure{}{}
\chapter{test}
\placefigure{}{}
\setcounter[figure][4]
\placefigure{}{}
\stoptext
chemical combination endnote figure footnote formula graphic
intermezzo itemgroup:itemize itemgroup:itemize:note linenote
paragrap
Dear list,
According to the information on contextgarden (section chemistry)
chemical reactions should be entered as follows:
\usemodule[chemic]
\startformula
\chemical{CaCO_3(s),+,HCl(g),->,CaCl(HCO_3)(s)}
\stopformula
That produces a formula with the comma's in it, so that's not good. I
- \startmakeup and \stopmakeup
^^ ^^
5- setupstrings, to describe the syntaxe and the type of the arguments
1/ I don't understand how to impact, for example, FLOAT and chemical in:
\placeFLOAT becomes \placerFLOAT
\startplaceFLOAT becomes
^^ ^^
5- setupstrings, to describe the syntaxe and the type of the arguments
1/ I don't understand how to impact, for example, FLOAT and chemical in:
\placeFLOAT becomes \placerFLOAT
\startplaceFLOAT becomes \debutplacerFLOAT
\placerchemical
-74 in the Publications manual
(http://pragma-ade.nl/general/manuals/mkiv-publications.pdf).
The cite examples on p.74 work as shown, but when I add each of the following:
\cite [name][108-95-2,566-33-5]\par
\cite [formula][108-95-2,566-33-5]\par
\cite [chemical][108-95-2,566-33-5]\par
\cite
ructures.sections.collected={
{
["block"]="bodypart",
["conversionset"]="default",
["language"]="en",
["numbers"]=1,
["separatorset"]="default",
["set"]="all",
},
}
if n
Mon, 18 Mar 2019 10:08:33 +
> > Jorge Manuel wrote:
> >
> >> \usemodule[chemic]
> >
> > chemic is the old, mkii chemical macros.
> > They have been replaced in mkiv with core macros
> > so no need for the above line.
> >
> > Alan
>
Thanks for your support.
I clear the recommended line, but the problem persists. How I can fix that?
Jorge
> No dia 18/03/2019, às 14:36, Alan Braslau escreveu:
>
> On Mon, 18 Mar 2019 10:08:33 +
> Jorge Manuel wrote:
>
>> \usemodule[chemic]
>
> chemic is th
On Mon, 18 Mar 2019 10:08:33 +
Jorge Manuel wrote:
> \usemodule[chemic]
chemic is the old, mkii chemical macros.
They have been replaced in mkiv with core macros
so no need for the above line.
Alan
___
If y
Good morning to all,
I need to place a argument under the compound.
For the first compound it's ok, but for the second and third compounds
the argument is placed in front an not bellow.
How I can fix that? thanks.
\usemodule[chemic]
\startformula
\chemical{Fe^{3+}}{}{yellow}
\chemical
A happy new year to everyone!
I’m trying to generate PDF/A compliant files and have a Problem with chemical
formulas in text.
The following does not work:
\setupinteraction
[title=TITLE,
subtitle=SUBTITLE,
author=AUTHOR,
keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]
%% For PDF/A
\setupbackend
> Am 09.10.2018 um 11:54 schrieb Hans Hagen :
>
>\bTR[aligncharacter=no] \bTD\eTD \bTD \chemical{NH_3}
> \eTD \bTD R407C \eTD \bTD R134a \eTD \eTR
Great, such a simple and elegant solution.
={,},aligncharacter=yes,align=middle]
\setupTABLE[c][3][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle]
\setupTABLE[c][4][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle]
\bTABLE
\bTABLEbody
\bTR \bTD\eTD \bTD \chemical
][3][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle]
\setupTABLE[c][4][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle]
\bTABLE
\bTABLEbody
\bTR \bTD\eTD \bTD \chemical{NH_3} \eTD \bTD R407C
\eTD \bTD R134a
pdf 2.0 (which we support) isn't revolutionary
different from 1.7
This is in particular of concern in the scientific community where
mathematical/physical/chemical formulas and diagrams are very hard to parse
semantically
(which, admittedly, might change in the future, too). For instance
forever. But it is probably also fair to
assume that there will be straightforward ways to generate from TeX sources
documents in a
future PDF replacement.
This is in particular of concern in the scientific community where
mathematical/physical/chemical formulas and diagrams are very hard to parse
inations (the ones
> you get with \setupinteraction[focus=standard]).
>
> \setupexternalfigures[location=default]
> \setupinteraction
> [state=start, focus=standard]
>
> \starttext
>
> \startplacechemical[reference=ch:ref]
> \startchemicalfor
[state=start, focus=standard]
\starttext
\startplacechemical[reference=ch:ref]
\startchemicalformula
\chemical{(C_2H_5)_2Zn}{DEZ}
\stopchemicalformula
\stopplacechemical
\placefigure[here][fl:ref]{Cow}{\externalfigure[cow]}
formula \in[ch:ref]
figure
\startplacechemical
\startchemicalformula
...
\stopchemicalformula
\stopplacechemical
Alan
On Tue, 8 Nov 2016 20:06:27 +0100
Willi Egger <cont...@boede.nl> wrote:
> I am busy to edit an older article in which there are a couple of
> chemical fromulas and reactions.
>
I am busy to edit an older article in which there are a couple of chemical
fromulas and reactions.
However, I am stuck because the following throws me an error when uncommenting
the line with “\chemical{2H^\oplus}{~waterstof (zuur)}” (something with $
inserted…)
Another aspect
t; I just wanted to check whether chemical structures typeset in ConTeXt
>> can be exported as XML. Therefore I wanted to setup a simple example
>> with ppchTeX. I copied example 3.1 from the manual [1]
>>
>>> \usemodule[chemic]
>>> \starttext
>>>
>&
On Wed, 6 Jul 2016 18:23:57 +0200
Henri Menke <henrime...@gmail.com> wrote:
> Dear list,
>
> I just wanted to check whether chemical structures typeset in ConTeXt
> can be exported as XML. Therefore I wanted to setup a simple example
> with ppchTeX. I copied example 3
Dear list,
I just wanted to check whether chemical structures typeset in ConTeXt
can be exported as XML. Therefore I wanted to setup a simple example
with ppchTeX. I copied example 3.1 from the manual [1]
> \usemodule[chemic]
> \starttext
>
> \startchemical[height=4500
On 2/6/2016 9:19 PM, Alan BRASLAU wrote:
ConTeXt has troubles hyphenating chemical names, which in organic
chemistry can be funny things such as
N-(4-n-alkoxybenzylidene)-4’-alkylaniline.
The names can get much worse...
The rules for hyphenating in chemistry are well defined. Without
putting
ConTeXt has troubles hyphenating chemical names, which in organic
chemistry can be funny things such as
N-(4-n-alkoxybenzylidene)-4’-alkylaniline.
The names can get much worse...
The rules for hyphenating in chemistry are well defined. Without
putting specific hyphenating hints into the names
On Mon, 28 Sep 2015 15:37:27 +0100
DesdeChaves <desdecha...@gmail.com> wrote:
> I try inserting several \chemical[ONE, .2MOV1] statements in some key
> places, but without success. Can you provide me a very simple example?
The idea is to draw the bond, then move, then the atom:
\c
this?
The mkiv chemistry module (replacing the mkii PPCHTEX code) uses
tighter spacing around the nodes, which looks nicer with single atomic
symbols. You are placing CH and CH_2 groups so it is necessary to
increasing the spacing at these spots. One trick could be:
\chemical [ONE,.2MOV1]
which moves
suppose that it uses some standard mechanisms.
\definechemical[benzene] is different. It gets used as:
\startchemical
\chemical[benzene,...]
\stopchemical
Perhaps there is some inconsistency with respect to ConTeXt syntax here.
the issue is that we have definechemical doing something
.
There are helper commands for the default \define and \setup macros
but the allowed arguments for \start... depend only on the way how
you write it.
\definechemical[benzene] is different. It gets used as:
\startchemical
\chemical[benzene,...]
\stopchemical
Perhaps there is some inconsistency
mechanisms.
\definechemical[benzene] is different. It gets used as:
\startchemical
\chemical[benzene,...]
\stopchemical
Perhaps there is some inconsistency with respect to ConTeXt syntax here.
Alan
___
If your
{\doaddfeature{f:proportional_lining}}
\setproplining
plus
Scientific inferiors (numbers for subscript, e.g. in chemical formulas):
\definefontfeature[f:inferiors][sinf=yes]
\unexpanded\def\setinferiors{\doaddfeature{f:inferiors}}
\setinferiors
Of course all this works only if the font offers
]
endchemical=\\stopchemical}}
firstC=\\chemical[ONE, Z0, SAVE][H_3C]
-- go and branch below
skeletonforBELOW={\\chemical[RESTORE,MOV1,Z0,SB153,SAVE][CH],
\\chemical[RESTORE,MOV1,Z0,SB5][CH_2]\\chemical[MOV1,Z0,SB153,SAVE][CH]}
--
\\chemical[RESTORE,MOV1,Z0][CH_2]\\chemical[MOV1,Z0,SB5][CH_2]\\chemical
the structures are displayed with fonts with different sizes.
Is there a way to normalize the structures width only when it exceeds
a certain size?
Why do you normalize the width?
If you set a fixed width (rather than width=fit), then the bounding box
will be normalized whatever is the size of the chemical
Hello,
I came across a special case where \placeinital would need some tuning.
(It was found in Eglinton, G. and Calvin, M. (1966) Chemical Fossils,
Scientific American 216, 32-43.)
In the following minimal example, the period following the capital W
should be dropped as well, being kept
On 1/24/2014 10:11 AM, Alan Braslau wrote:
Hello,
I came across a special case where \placeinital would need some tuning.
(It was found in Eglinton, G. and Calvin, M. (1966) Chemical Fossils,
Scientific American 216, 32-43.)
In the following minimal example, the period following the capital W
(\\addplot[blue, ultra thick] {..slope..*x-..workfunction..};).
However, it would be useful to use some pstricks packages. For example, the
package pst-spectra includes a set of spectrum of various chemical
elements. It is unique. Currently, I run latex and then import the pdf
file into context
On Thu, 21 Nov 2013 15:55:09 -0500
Aditya Mahajan adit...@umich.edu wrote:
Unicode alpha gets translated to \greekalpha, so you need a font
(like dejavu) that includes those glyphs
Yes, thanks for this clarification.
When I tested this earlier, I was indeed using dejavu...
In the chemistry
Dear Sirs,
I'm trying to run some code from the ppchtex manual, however, the chemical
structures are not correctly drawn. See the example:
https://www.dropbox.com/s/w7v8kouc4glndf0/chemicerror.pdf.
I found this problem en Minimals (last version) and on TexLive 2013.
\setupbodyfont[11pt
On Thu, 21 Nov 2013, Alan Braslau wrote:
(For some reason, unicode \alpha currently disappears - a font issue.
This worked early so is indeed a bug.)
Unicode alpha gets translated to \greekalpha, so you need a font (like
dejavu) that includes those glyphs.
Aditya
on one or
two minor details that Hans and myself have not yet take care of - just
a question of getting around to it. Indeed, we NEED to release the new
manual...
Alan
\setupbodyfont[11pt]
\starttext
\startchemical[bottom=1.75,size=big,frame=on]
\bottext{\alpha-Glycerophosphate}
\chemical[ONE
Hello,
We have completely rewritten the chemical macros from ppchtex, taking
some liberty with some details of the syntax. I will look into your
examples to see what is going wrong.
Alan
On Thu, 21 Nov 2013 18:10:45 +
DesdeChaves desdecha...@gmail.com wrote:
Dear Sirs,
I'm trying
then utilitydata_structures_counters = { }
utilitydata_structures.counters = utilitydata_structures_counters end
utilitydata_structures_counters.collected={
[chemical]={
{ 0 },
},
[endnote]={
{ 0 },
},
[figure]={
{ 0 },
},
[footnote]={
{ 0 },
},
[formula]={
{ 0 },
},
[graphic]={
{ 0
, lft, bot
with its appropriate edge centered at the origin.
The lft and rt text thus will not have their baselines aligned, unless you add
a \strut.
(This is an issue with the chemical macros.)
Try label.rt (texttext(\strut right), origin) ;
By the way, you can use:
draw textext.rt
. Speculaas is a kind of
hard spiced biscuit.
51 \stopitemize
52
- The tables pages 30-31-32-35 are not at the right position
on the page, mostly they are to the right and not centered.
- The chemical formulae give an error (pages 37-38), but
I'll come back to that later on, but what
example, but this seems to work here. Can you
provide a minimal example and say what you expect to be different?
- The chemical formulae give an error (pages 37-38), but I'll come
back to that later on, but what is the manual about it?
Hans and Alan are in the process of completely re-writing
On Fri, 25 Jan 2013 15:47:56 +0100
Marco Patzer home...@lavabit.com wrote:
- The chemical formulae give an error (pages 37-38), but I'll come
back to that later on, but what is the manual about it?
Hans and Alan are in the process of completely re-writing the
chemical macros. I don't
provide a minimal example and say what you expect to be different?
In another example before, the locations for floats was
changed to right and so all tables where to the right,
except the last which had a location=left.
- The chemical formulae give an error (pages 37-38), but I'll come
back
On Fri, 25 Jan 2013 20:17:38 +0100
Alain Delmotte espera...@swing.be wrote:
Waiting the book announced by Alan
A manual *only* describing the chemical macros...
perhaps to be considered as a chapter of the official documentation...
Alan
Hi all,
I found what I suppose to be a bug with the \chemical command:
- when one use \chemical inside display math, the spacing is wrong around the
\chemical stuff. The font change inside \chemical also persists outside the
command.
- if one enclose the \chemical command into curly braces
Strange, why did I get a spam tag on this message…
--
Romain Diss
romain.d...@yahoo.fr
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
We are currently in the process of a complete re-write of the chemical macros.
In fact, we are almost finished and Hans is including the new macros in the
beta (as fast as he can keep up with my changes...).
In your example, I see the spacing problem in display math but do not see the
font
on line 3 where the last parenthesis is smaller than expected.
Rather than display math (as was suggested with ppchTeX), we have now
introduced \startchemicalformula
\stopchemicalformula
in order to display a chemical formula.
Yes but in my cases I do want a mathematic display
) ;
\stopMPcode
\stoptext
sure, we have a different interface on odd days
Currently instances are played with a bit (as Alan and I want the
chemical module to run in its own but also want it to be public).
Anyhow, one complication is in the related variables. I now have a
version that supports
...
needs a #1 (I'll fix it).
So indeed you can have multiple independent instances. For instance we
could have one for the chemical stuff which then cannot be messed up by
other instances.
Hans
but but the format is nevertheless usefull in some cases:
- exercises like: what is the chemical symbol of the \lohi[left]{2}{4}X
atom?
- nuclear reactions where Z are usefull to balance the equations (see
http://en.wikipedia.org/wiki/Nuclear_reaction for exemples). Of course if one
know every Z and atomic
/8575456ae9e5dfe1f5dea5ac1224f75b5d1eb0a2
(It's stored in the commit log).
I also caught some problems which are fixed in the beta, but broken in
TL12.
- i fixed the corner in framed
- \chemical{EQUILIBRIUM}{boven}{onder} is fixed but top/bottom only work
in formulas
- for footnotes to migrate
, if they keep changing every week, well, that could be a problem
for the well-being of the test suite).
Some things, like the chemical stuff, require someone who actually does
know what they are (I don't).
The whole point of having a test suite is to catch the regressions
before they pile up. I
the references is not a problem.
(Well, if they keep changing every week, well, that could be a problem
for the well-being of the test suite).
Mixed columns probably need some time to become stable (and the width /
distance should definitely be compatible).
Some things, like the chemical stuff
On Wed, 17 Oct 2012 22:52:33 +0200
Hans Hagen pra...@wxs.nl wrote:
On 17-10-2012 21:30, Marco Pessotto wrote:
Some things, like the chemical stuff, require someone who actually
does know what they are (I don't).
Alan is currently reviewing the chemical subsystem.
Furiously, breaking
Hi,
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
\starttext
%% does not typeset the reaction, prints the commas, wrong spacing
%% and no arrow
\startformula
\chemical{2H_2,+,O_2,-,2H_2O}
\stopformula
%% same here, GIVES
On Tue, 2 Oct 2012 09:40:35 +0200
Marco Patzer home...@lavabit.com wrote:
Hi,
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
\starttext
%% does not typeset the reaction, prints the commas, wrong spacing
2012-10-02 Alan BRASLAU alan.bras...@cea.fr:
Hi Alan
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
[…]
\startchemicalformula
not
\startformula
\startchemicalformula
\chemical{2H_2}
\chemical
2012-10-02 Alan BRASLAU alan.bras...@cea.fr:
Try the following:
\starttext
\startchemicalformula
\chemical{2H_2}
\chemical{+}
\chemical{O_2}
\chemical{-}
\chemical{2H_2O}
\stopchemicalformula
\chemical{-} is not rendered correctly.
\startchemicalformula
\chemical{2H_2
Hello all,
Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the formula.
When is there command for example \lettertilde, is there something like
\lettercomma (\charcomma), \lettersemicolon
On 1-4-2012 15:15, Jaroslav Hajtmar wrote:
Hello all,
Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the formula.
When is there command for example \lettertilde, is there something like
inside the
chemical formula?
Comma character is used as a delimiter of individual items in the
formula.
When is there command for example \lettertilde, is there something like
\lettercomma (\charcomma), \lettersemicolon (\charcomma) and others
nonalphanumerics characters (which would be used inside
as \chemical{H}
and is known to occur naturally as ...
?
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
apart from this IMHO very useful change (mapping to \int), maybe we should
create a unicode-math module which replaces some commands with symbols. i
find myself always using this for chemical and mathematical documents:
\catcode`→=\active
\def→{\xrightarrow}
\catcode`↔=\active
\def
Am Sonntag, den 11.12.2011, 13:28 +0100 schrieb Philipp A.:
apart from this IMHO very useful change (mapping to \int), maybe we should
create a unicode-math module which replaces some commands with symbols.
Do you mean symbols by commands?
i find myself always using this for chemical
On Sun, 11 Dec 2011, Philipp A. wrote:
apart from this IMHO very useful change (mapping to \int), maybe we should
create a unicode-math module which replaces some commands with symbols. i
find myself always using this for chemical and mathematical documents:
\catcode`→=\active
\def
There is a (new) problem typesetting text in chemical structures.
Alan
Minimal example:
\starttext
\startchemical
\chemical [ONE,Z0] [O]
\stopchemical
\stoptext
! terminal:
(/usr/local/context/beta/tex/texmf-context/metapost/context/base/mp-chem.mpiv)
labtype-10
! Unknown relation
On 7-11-2011 12:59, Alan Braslau wrote:
starttext
\startchemical
\chemical [ONE,Z0] [O]
\stopchemical
\stoptext
in mp-chem.mpiv patch labtype to mfun_labtype:
if (mfun_labtype@# = 10) : shifted (0,ypart center p) fi
(much has been moved to a namespace in order to be more protected
Hi,
The following minimal example:
==
\starttext
\chemical{A,+,B,-,AB}
\stoptext
==
gives the following error under context version: 2011.10.08 11:42,
luatex version beta-0.70.1-2011051918:
! Undefined control sequence.
system
On 21-6-2011 4:30, Kip Warner wrote:
On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote:
chemical support is not includes so best not load the chem module
Hey Hans,
Sorry, I don't follow. Do you mean chemical support is included by
default and you don't need to explicitly load the module
\chemical{2H_2,+,O_2,-,2H_2O}
\stopformula
The image following it on the wiki looks as one would expect, but mine
does not. I compiled the same code, but bracketed with \startstoptext
and my generated PDF contains literally the following:
2H 2,+,O 2,–,2H 2O
Something's not right. Any ideas? I have
On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote:
chemical support is not includes so best not load the chem module
Hey Hans,
Sorry, I don't follow. Do you mean chemical support is included by
default and you don't need to explicitly load the module? Are you saying
that the chemic module
[units,chemic]
And the offending statement found in one of my component files is:
\chemical{CO_2,PLUS,H_2,PLUS,GIVES,PLUS,O_2,PLUS,CO}
minimal complete file needed as we need to see what is your font setup
On Sat, 2011-06-18 at 11:32 +0200, Hans Hagen wrote:
minimal complete file needed as we need to see what is your font setup
Hey Hans,
The line containing the problematic chemical line is this one:
\chemical{CO_2,PLUS,H_2,PLUS,GIVES,PLUS,O_2,PLUS,CO}
The error is:
! Math error: parameter
Hey list,
I am running ConTeXt version 2011.06.17 16:50 pulled from Adam's PPA.
From the Chemistry wiki article here,
http://wiki.contextgarden.net/Chemistry
, I am attempted to compile the water reaction example here:
\usemodule[chemic]
\startformula
\chemical{2H_2,+,O_2,-,2H_2O}
\stopformula
statement found in one of my component files is:
\chemical{CO_2,PLUS,H_2,PLUS,GIVES,PLUS,O_2,PLUS,CO}
What am I doing wrong?
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
only
get capitals for the first letter, proper nouns, chemical symbols,
etc.;
Book Titles get Capital Letters for Most Words.
This is controlled by the bst style you use. If you look into the
directory
$CONTEXT/tex/texmf-context/bibtex/bst/context/
you'll find a number of them. They contain
styles: journal articles only
get capitals for the first letter, proper nouns, chemical symbols, etc.;
Book Titles get Capital Letters for Most Words.
Pont
___
If your question is of interest to others as well, please
/blocks-001.pdf
./doc/context/tests/mkiv/chemical/ppchtex-003.pdf
./doc/context/tests/mkiv/experiments/fonts.pdf
./doc/context/tests/mkiv/experiments/structurelevels.pdf
./doc/context/tests/mkiv/fonts/cyrillic-001.pdf
./doc/context/tests/mkiv/fonts/dashes-001.pdf
./doc/context/tests/mkiv/fonts
/1AEB1F0BDD3BAAC9
Comments are welcome.
2 Hans Taco:
I was not able to translate the following sources:
speed-001.tex
speed-002.tex
- A kind of a infinite loop?
And to get the following files:
./doc/context/tests/mkiv/blocks/blocks-001.pdf
./doc/context/tests/mkiv/chemical/ppchtex-003.pdf
./doc
/chemical/ppchtex-003.pdf
../doc/context/tests/mkiv/experiments/fonts.pdf
../doc/context/tests/mkiv/experiments/structurelevels.pdf
../doc/context/tests/mkiv/fonts/cyrillic-001.pdf
../doc/context/tests/mkiv/fonts/dashes-001.pdf
../doc/context/tests/mkiv/fonts/dashes-002.pdf
../doc/context/tests/mkiv/fonts
/blocks-001.pdf
../doc/context/tests/mkiv/chemical/ppchtex-003.pdf
../doc/context/tests/mkiv/experiments/fonts.pdf
../doc/context/tests/mkiv/experiments/structurelevels.pdf
../doc/context/tests/mkiv/fonts/cyrillic-001.pdf
../doc/context/tests/mkiv/fonts/dashes-001.pdf
../doc/context/tests/mkiv
From a thread on this list (May 2009:
http://archive.contextgarden.net/message/20090512.132914.5c29b5f4.en.html)
I gather that whereas colouring a whole molecule works fine, colouring
groups within a chemical structure is not yet fully implemented in mkiv.
Is that still correct?
Putting
1 - 100 of 211 matches
Mail list logo